﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Admin_Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%= CompanyName %> Admin Login</title>
    <%--<link href="../default_style.css" rel="stylesheet" type="text/css" />--%>
    <script language="javascript" type="text/javascript" src="../Js/jquery-1.6.4.min.js"></script>
    <script language="javascript" type="text/javascript">
        jQuery(document).ready(function () {
            $("#tableRoot").height($(window).height() - 30);
            $("#tbUserName")[0].focus();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table id="tableRoot" runat="server" border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
    <tr>
    <td>&nbsp;</td>
    <td align="center" valign="middle">
        <table cellpadding="6" style="border: 1px solid #2C4D79; border-collapse: collapse; border-spacing: 0;
            font-family: Tahoma, Verdana; font-size: 13px; background-color: #E7F3FF; width: 300px;">
        <tr>
        <td colspan="2" style="text-align: left; font-size: 18px; color: #FF7800; border-bottom: 2px solid #2C4D79; padding: 3px;">Administrative Login:</td>
        </tr>
        <tr><td colspan="2"></td></tr>
        <tr>
        <td align="right" style=" color:Black;">User name:</td>
        <td align="left">
            <asp:TextBox ID="tbUserName" runat="server" Width="150px"></asp:TextBox>
        </td>
        </tr>
        <tr>
        <td align="right" style="color:Black;">Password:</td>
        <td align="left">
            <asp:TextBox ID="tbPassword" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
        </td>
        </tr>
        <tr>
        <td colspan="2" style="text-align: center; color: Red;">
            <div id="divMsg" runat="server"></div>
        </td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td align="left" valign="top">
            <asp:Button ID="btnLogin" runat="server" Text="Log in" onclick="btnLogin_Click" 
                CssClass="loginButton" />
        </td>
        </tr>
        <tr><td colspan="2"></td></tr>
        </table>        
    </td>
    <td>&nbsp;</td>
    </tr>
    </table>
    </form>
</body>
</html>
